package com.artisan.medium.admin.service;

import com.artisan.common.pojo.PageBean;
import com.artisan.common.pojo.PageParam;
import com.artisan.model.BusinessType;

import java.util.List;
import java.util.Map;

/**
 * Created by yang on 2017/7/5.
 */
public interface BusinessTypeService {
        List<BusinessType> getBusniessTypeByPid(int pid);
        PageBean listPage(PageParam pageParam, Map<String, Object> paramMap);
        int remvoeType(String ids);
        int saveType(BusinessType businessType);
        BusinessType getBusniessTypeByiId(int id);
        int updateBusniessType(BusinessType businessType);

        int queryOneTypeId(String flag);

        List<BusinessType> queryAllTwoLevelType();
}
